export const routerConstents = [
  {
    path: '/',
    name: 'layout',
    redirect: '/home',
    component: () => import('@/layout/index.vue'),
    children: [
      {
        path: '/home',
        name: 'home',
        component: () => import('@/views/home.vue')
      },
      {
        path: '/line',
        name: 'line',
        component: () => import('@/views/line.vue')
      },
      {
        path: '/order',
        name: 'order',
        component: () => import('@/views/order.vue')
      },
      {
        path: '/setmeal',
        name: 'setmeal',
        component: () => import('@/views/setmeal.vue')
      },
      {
        path: '/dish',
        name: 'dish',
        component: () => import('@/views/dish.vue')
      },
      {
        path: '/category',
        name: 'category',
        component: () => import('@/views/category.vue')
      },
      {
        path: '/emp',
        name: 'emp',
        component: () => import('@/views/emp.vue')
      }
    ]
  },
  {
    path: '/login',
    name: 'login',
    component: () => import('@/layout/login.vue')
  },
  {
    path: '/test',
    name: 'test',
    component: () => import('@/layout/test.vue')
  }
]
